/**
 * 配置
 * */
package org.zmhhxl.samples3.resource.gateway.configure;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.web.server.context.WebSessionServerSecurityContextRepository;
import org.springframework.session.ReactiveSessionRepository;
import org.springframework.session.config.annotation.web.server.EnableSpringWebSession;

//@Configuration
//@EnableSpringWebSession
//public class SessionConfiguration {
//
//   @Bean
//   public ReactiveSessionStrategy reactiveSessionStrategy(ReactiveSessionRepository<?> sessionRepository) {
//      return new WebSessionServerSecurityContextRepository(sessionRepository);
//   }
//}
